{template 'common/header'}
<div class="main">
	<ul class="nav nav-tabs">

	    <li class="active"><a  href="#">商城设置</a></li>
	</ul>

	<div class="panel panel-default">
		<div class="panel-body">
		<form action="" method="post" class=" form" enctype="multipart/form-data">
			<input type="hidden" name="shopid" value="{$shop['id']}" />

			<div class="form-group" style="display: block">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">是否开启商城</label>
				<div class="col-sm-9">
					<label class="radio-inline">
						<input type="radio" name="shop_status" value="0" {if $shop['shop_status']==0} checked="checked"{/if}/>关闭
					</label>
					<label class="radio-inline">
						<input type="radio" name="shop_status" value="1" {if $shop['shop_status']==1} checked="checked"{/if}/>开启
					</label>
					<div class="help-block">默认关闭。</div>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">商城标题标题</label>
				<div class="col-sm-9 col-xs-12">
					<input type="text" name="shop_title" class="form-control" value="{$shop['shop_title']}">
					<div class="help-block">显示在手机端页面标题</div>
				</div>
			</div>


			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">商城背景颜色</label>
				<div class="col-sm-9 col-xs-12">
					{php echo tpl_form_field_color('shop_bg_color',$shop['shop_bg_color']);}
					<div class="help-block">用来控制商城背景的颜色，不设置使用白色</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-3 col-md-2 control-label">商城主色调</label>
				<div class="col-sm-9 col-xs-12">
					{php echo tpl_form_field_color('shop_color',$shop['shop_color']);}
					<div class="help-block">不设置使用默认</div>
				</div>
			</div>

			<div class="form-group">
				<label for="" class="control-label col-xs-12 col-sm-3 col-md-2">商城字体颜色</label>
				<div class="col-sm-9 col-xs-12">
					{php echo tpl_form_field_color('shop_font_color',$shop['shop_font_color']);}
					<div class="help-block">不设置使用默认</div>
				</div>
				<div class="form-group col-sm-12">
					<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
					<input type="hidden" name="op" value="addad" />
				</div>
			</div>



		</form>
	</div>


</div>
<!-- <div id="queding" class="hide">
	<span class="pull-right btn btn-primary" id="chengaddd" onclick="abc()">确定</span>
</div> -->
<script>
	require(['bootstrap'],function($){
		$('.btn').hover(function(){
			$(this).tooltip('show');
		},function(){
			$(this).tooltip('hide');
		});
	});

</script>
<script>
function drop_confirm(msg, url){
    if(confirm(msg)){
        window.location = url;
    }
}
</script>
{template 'common/footer'}